package com.easywb.springboot.mapper.blog.service;

import com.easywb.springboot.entity.Blog;

import java.util.ArrayList;
import java.util.List;

/**
 * @param
 * @Description: 类描述
 * @Author: allan5945@qq.com
 * @Date: 2018/10/24
 * @return:
 * @throws:
 */
public interface BlogService {
    List<Blog> selectHotBlog(Integer pageNum, Integer pageSize, ArrayList<String> con);

    Blog selectBlog(Integer id);

    Integer blogeCount(ArrayList<String> con);

    Boolean addBlog(Blog blog);

    Boolean delectBlog(Integer id, Integer userid);

    List<String> getHotTag(Integer pageNum, Integer pageSize);

    List<String> getTag(Integer userId);

    List<Blog> selectUserBlog(Integer belongerId);
}
